package com.bootdo.crm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.crm.dao.CustomerSettingDao;
import com.bootdo.crm.domain.CustomerSettingDO;
import com.bootdo.crm.service.CustomerSettingService;



@Service
public class CustomerSettingServiceImpl implements CustomerSettingService {
	@Autowired
	private CustomerSettingDao customerSettingDao;
	
	@Override
	public CustomerSettingDO get(Integer settingId){
		return customerSettingDao.get(settingId);
	}
	
	@Override
	public List<CustomerSettingDO> list(Map<String, Object> map){
		return customerSettingDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return customerSettingDao.count(map);
	}
	
	@Override
	public int save(CustomerSettingDO customerSetting){
		return customerSettingDao.save(customerSetting);
	}
	
	@Override
	public int update(CustomerSettingDO customerSetting){
		return customerSettingDao.update(customerSetting);
	}
	
	@Override
	public int remove(Integer settingId){
		return customerSettingDao.remove(settingId);
	}
	
	@Override
	public int batchRemove(Integer[] settingIds){
		return customerSettingDao.batchRemove(settingIds);
	}
	
}
